<?php require 'gauche.tpl.php';?>
	<div id="content">
	    <div>
	    <h2>ESL - Gérer les teams</h2>
	    <form method="post">
	    <fieldset>
	        <legend>Teams actives</legend>
	        <ul id="teamActives">
	        <?php foreach ($teams as $team) {?>
	            <li><input type="radio" value="<?php echo $team['esl_id']?>" name="frm_eslid" class="radioteam"/><label><?php echo $team['esl_name']?></label></li>
	        <?php }?>
	        </ul>
        </fieldset>
        <fieldset id="teamDetail">
            <legend>Team</legend>
            <p>
                <label>épreuve concernée</label>
                <select>
                    <option></option>
                </select>
            </p>
            <p>
                <label for="frm_membres">Membres concernés</label>
                <select size="10" id="frm_membres" name="frm_membres[]" multiple="multiple">
                <option value="pwet">pwet</option>
                </select>
            </p>
            <p>
                <label for="frm_new_membre">répartition des gains</label>
                <input type="text" name="frm_new_membre" id="frm_new_membre" />
                <input type="button" id="frm_search" value="ajouter" />
            </p>
        </fieldset>
	    <div class="boutons">
	        <input type="button" value="Enregistrer" name="frm_action"/>
	        <input type="hidden" value="" name="frm_action" />
	    </div>
	    </form>
	    </div>
    </div>